﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShapeDemo
{
    public class DPoint
    {
        public double X { get; set; }
        public double Y { get; set; }
    }

    [Serializable]
    public class ASPNETX_Shape
    {
        public CmmnProp CommonProperty { get; set; }

        public double X { get; set; }
        public double Y { get; set; }
    }
    
    [Serializable]
    public class ASPNETX_Polygon : ASPNETX_Shape
    {
        public List<DPoint> PointsList { get; set; }
        public String NombreLoco { get; set; }

        public ASPNETX_Polygon()
        {
            PointsList = new List<DPoint>();
        }
    }

}
